﻿// (c) Copyright Damian Mehers http://damianblog.com/
// This source is subject to the Microsoft Public License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.

using Microsoft.MediaCenter;
using Microsoft.MediaCenter.Hosting;

namespace MceFM.Last {

  internal class UserNotifier {
    public void Notify(string message) {
      Notify(message, false);
    }
    public void Notify(string message, bool modal) {
      AddInHost.Current.MediaCenterEnvironment.Dialog(message,
                                                      "MceFM",
                                                      DialogButtons.Ok,
                                                      1,
                                                      modal);
    }
  }
}